var md_site=(function($,md_list){
    var app={
        listvalid:{
            rules: {
                name: {
                    required: true,
                    maxlength:50
                },
                 caption: {
                    required: true,
                    maxlength:50
                }
            },
            messages: {
                name: {
                    required: "分类名称不能为空",
                    maxlength: "分类名称不能大于50个字符"
                },
                caption: {
                    required: "分类名称不能为空",
                    maxlength: "分类名称不能大于50个字符"
                }
            }
        },
        initEvent:function(){

        }
    }
    return $.extend(true, md_list, app);
})($,md_list||{});
if(typeof md_site!=undefined){
    $(function(){
        md_site.init();
    });
}

